<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <title>Document</title>
</head>
<body>
<center>
<table class="table">
    <tr>
        <td>id</td>
        <td>用户名</td>
        <td>操作</td>
        <td>创建时间</td>
        <td>修改时间</td>
    </tr>
    <?php foreach ($data as $k=>$v) {?>
    <tr>
        <td>{{$v['id']}}</td>
        <td>{{$v['username']}}</td>
        <td>{{$v['content']}}</td>
        <td>{{$v['created_at']}}</td>
        <td>{{$v['updated_at']}}</td>
    </tr>
    <?php }?>
    <tr>
        <td>
            {{ $data->links()}}
        </td>
    </tr>
</table>
</center>
</body>
</html>


